import "../utils/URLInterceptor.js"
//获取评论
export const commentAll = (postsId) => {
	return uni.request({
		url:"/user/comment/"+postsId,
		method: 'GET',
	})
} 

 //发布评论
 export const addcomment =  (params) => {
	return uni.request({
		url:"/user/comment",
		method: 'POST',
		data:{
			...params
		}
	})
} 